OPC UA PubSub SL Library Documentation

Company:

CODESYS

Title:

OPC UA PubSub SL

Version:

1.2.0.0

Categories:

Intern

Namespace:

UADP

Author:

CODESYS Development GmbH

Placeholder:

OPC_UA_PubSub_SL

Description [1]

Function blocks for communication with the OPC-UA defined protocol for PubSub over UADP

The communication via the OPC UA Pub/Sub protocol provides, besides the Client/Server communication, another possibility to exchange data between network members, conforming to the rules of the OPC UA Foundation. The structure of the data can be freely defined (See: IEC_TYPES, DataSet) and is agreed in advance between the sender (Publisher) and receiver (Subscriber). This eliminates the need to transport additional (meta-) data. Data is transferred using the OPC UA PubSub SL library via UDP/IP according to the rules defined for UADP. A certain Publisher publishes his data to an unknown number of Subscriber. So sender and receiver do not know each other. Therefore the number of receivers has no effect on the sender. A feedback to the sender if his messages have reached the receivers cannot be done via the protocol. If required, such a feedback must be managed in an application-specific way. The data is transferred in a binary format according to the rules of the OPC UA Foundation. The conversion of the IEC data types into the corresponding OPC UA data types and vice versa is done by the OPC UA PubSub SL library.

The implementation follows the following profiles:

  • Publisher: PubSub Publisher UADP Periodic Fixed Settings

  • Subscriber: PubSub Subscriber UADP Periodic Fixed Settings

The length of messages is limited to 1500 Bytes (UDP.MTU) (Chunked NetworkMessages not supported).
As long as the rules for a Time Sensitive Network are not yet available, hard real-time conditions cannot be met. The implementation of the OPC UA PubSub SL library tries to keep the Jitter as small as possible.
See: PubSub Concepts at OPC Foundation
See: OPC UA UDP / UADP at OPC Foundation

Please take a look to the overview of aviable set of function blocks:

_images/Block_Overview.png

Contents:

Indices and tables